/**
 * 北京中流科技有限公司 版权所有
 * http://www.chinasoa.com.cn
 */
package cn.com.chinasoa.course.subscribe.model;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Version;

/**
 * @author 刘洋(liuyang@chinasoa.com.cn)
 * 2007-11-1上午01:01:23
 * 前提条件
 */
@Entity
public class TrainingCondition implements Serializable {

	private static final long serialVersionUID = 1173791471324108272L;

	@Id
    @GeneratedValue(strategy=GenerationType.AUTO) 
	private long id;
	@Version
	private int version;
	@Basic
	private String qualification ;

	public TrainingCondition(){
		
	}
	
	public TrainingCondition(String vQualification){
		qualification = vQualification;
	}

	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}

	public String getQualification() {
		return qualification;
	}

	public void setQualification(String qualification) {
		this.qualification = qualification;
	}

	
}
